package com.dynamic.idea.quick.develop.plugin.utils;

import com.intellij.util.BitUtil;

public class Test01 {
    public static void main(String[] args) {
        int options=1|8|1024|2048;
        boolean isSuccess=(BitUtil.isSet(options, 8) && !BitUtil.isSet(options, 16));

        System.out.println(isSuccess);

        boolean set = BitUtil.isSet(options, 1024);
        System.out.println(set);
    }
}
